package com.hua.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hua.common.Response;
import com.hua.domain.User;

/**
 * ClassName:UserService
 * Package:com.hua.service
 * Description:
 *
 * @data: 2022/10/18 18:21
 * @author:ChenJH
 */
public interface UserService extends IService<User> {

    Response<User> login(User user);

    Response<String> toLogOut();

    User getUserInfo();

    Response<String> getDiscount(Integer userId, Integer discountCardId);

    public Response<String> sendDisCount(Integer discountCardId);
}
